#!/bin/bash
#网站 DNS 区域传送漏洞检测 bash shell 实现
read -p "Please INput Dns IP:" ns
read -p "Please Input Domain:" d
if dig @${ns} ${d} axfr | grep -E --color 'IN[[:space:]]+A|IN[[:space:]]+NS' &>dns.log
then
 echo "nice! a hole"
fi
